/* image.h - part of ziproxy package
 * 2002 Juraj Variny <variny@anex.sk>
 *
 * Released subject to GNU General Public License
 */

extern int png2bitmap(char *inbuf, int insize, char** image, int *width, int *height, 
				int *bytes_per_pixel);
extern int gif2bitmap(char *inbuf, int insize, char** image, int *width, int *height, 
				int *bytes_per_pixel);
extern int jpg2bitmap(char *inbuf, int insize, char** image, int *width, int *height, 
				int *bytes_per_pixel);
extern int bitmap2jpg(char* image, int width, int height, int bytes_per_pixel, 
				int quality);

extern int outlen;
extern char* outbuf;


